<?xml version="1.0" encoding="UTF-8"?>
<f:view xmlns:c="http://java.sun.com/jstl/core" xmlns:f="http://java.sun.com/jsf/core" xmlns:fmt="http://java.sun.com/jstl/fmt"
  xmlns:h="http://java.sun.com/jsf/html" xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:tr="http://myfaces.apache.org/trinidad"
  xmlns:trh="http://myfaces.apache.org/trinidad/html" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:x="http://java.sun.com/jsp/jstl/xml">
  <ui:composition template="/preview/activity-panel.xhtml">
    <tr:panelBox background="light" text="Create Admonition Comment" width="100%">
      <tr:panelFormLayout inlineStyle="width:100%">
      	<tr:panelCaptionGroup captionText="Available Project Information" disabled="false" id="structured_ProjectInformation">
            <trh:tableLayout borderWidth="0" cellPadding="0" width="100%">
              <trh:rowLayout>
                <trh:cellFormat width="15%">
                  <tr:outputLabel for="id_ProjectInformation_ProjectID" value="Project ID:"/>
                </trh:cellFormat>
                <tr:inputText columns="100" disabled="true" id="id_ProjectInformation_ProjectID" simple="true" value="#{CreateAdmonitionCommentBean.projectInformationWrapper.complexType['ProjectID']}"/>
              </trh:rowLayout>
              <trh:rowLayout>
                <trh:cellFormat width="15%">
                  <tr:outputLabel for="id_ProjectInformation_Status" value="Status:"/>
                </trh:cellFormat>
                <tr:inputText columns="100" disabled="true" id="id_ProjectInformation_Status" label="Status" simple="true"
                  validator="#{structuredDataValidator.validateInt}" value="#{CreateAdmonitionCommentBean.projectInformationWrapper.complexType['Status']}"/>
              </trh:rowLayout>
              <trh:rowLayout>
                <trh:cellFormat width="15%">
                  <tr:outputLabel for="id_ProjectInformation_Deadline" value="Deadline:"/>
                </trh:cellFormat>
                <tr:inputDate disabled="true" id="id_ProjectInformation_Deadline" simple="true" value="#{CreateAdmonitionCommentBean.projectInformationWrapper.complexType['Deadline']}">
                  <tr:convertDateTime type="date"/>
                </tr:inputDate>
              </trh:rowLayout>
              <trh:rowLayout>
                <trh:cellFormat width="15%">
                  <tr:outputLabel for="id_ProjectInformation_HighPriority" value="High Priority:"/>
                </trh:cellFormat>
                <tr:selectBooleanCheckbox disabled="true" id="id_ProjectInformation_HighPriority"
                  selected="#{CreateAdmonitionCommentBean.projectInformationWrapper.complexType['HighPriority']}" simple="true"/>
              </trh:rowLayout>                            
              <trh:rowLayout>
                <trh:cellFormat width="15%">
                  <tr:outputLabel for="id_ProjectInformation_Iterations" value="Iterations:"/>
                </trh:cellFormat>
                <tr:inputText columns="100" disabled="true" id="id_ProjectInformation_Iterations" label="Iterations" simple="true"
                  validator="#{structuredDataValidator.validateInt}" value="#{CreateAdmonitionCommentBean.projectInformationWrapper.complexType['Iterations']}"/>
              </trh:rowLayout>              
              <trh:rowLayout>
                <trh:cellFormat width="15%">
                  <tr:outputLabel for="id_ProjectInformation_EPMA_CostEstimate" value="Cost Estimate:"/>
                </trh:cellFormat>
                <tr:inputText columns="100" disabled="true" id="id_ProjectInformation_EPMA_CostEstimate" simple="true" value="#{CreateAdmonitionCommentBean.projectInformationWrapper.complexType['EPMA_CostEstimate']}"/>
              </trh:rowLayout>
              <trh:rowLayout>              
                <trh:cellFormat width="15%">
                  <tr:outputLabel for="id_ProjectInformation_CostCalc" value="Cost Calculation:"/>
                </trh:cellFormat>
                <tr:inputText columns="100" disabled="true" id="id_ProjectInformation_CostCalc" label="CostCalc" simple="true"
                  validator="#{structuredDataValidator.validateFloat}" value="#{CreateAdmonitionCommentBean.projectInformationWrapper.complexType['CostCalc']}"/>
              </trh:rowLayout>   
              <trh:rowLayout>              
                <trh:cellFormat width="15%">
                  <tr:outputLabel for="id_ProjectInformation_Price" value="Price:"/>
                </trh:cellFormat>
                <tr:inputText columns="100" disabled="true" id="id_ProjectInformation_Price" label="Price" simple="true"
                  validator="#{structuredDataValidator.validateFloat}" value="#{CreateAdmonitionCommentBean.projectInformationWrapper.complexType['Price']}"/>
              </trh:rowLayout>  
              <trh:rowLayout>
                <trh:cellFormat width="15%">
                  <tr:outputLabel for="id_ProjectInformation_II_BillMailComment" value="Bill Mail Comment:"/>
                </trh:cellFormat>
                <tr:inputText rows="15" columns="97" disabled="true" id="id_ProjectInformation_II_BillMailComment" simple="true" value="#{CreateAdmonitionCommentBean.projectInformationWrapper.complexType['II_BillMailComment']}"/>
              </trh:rowLayout>              
              <trh:rowLayout>
                <trh:cellFormat width="15%">
                  <tr:outputLabel for="id_ProjectInformation_II_AdmonitionCounter" value="Admonition Counter:"/>
                </trh:cellFormat>
                <tr:inputText disabled="true" id="id_ProjectInformation_II_AdmonitionCounter" label="II_AdmonitionCounter" simple="true"
                  validator="#{structuredDataValidator.validateInt}" value="#{CreateAdmonitionCommentBean.projectInformationWrapper.complexType['II_AdmonitionCounter']}"/>
              </trh:rowLayout>
             </trh:tableLayout>
          </tr:panelCaptionGroup>            
          <tr:panelCaptionGroup captionText="Required Information for Admonition" disabled="false" id="structured_ProjectInformation">
            <trh:tableLayout borderWidth="0" cellPadding="0" width="100%"> 
              <trh:rowLayout>
                <trh:cellFormat width="15%">
                  <tr:outputLabel for="id_ProjectInformation_II_AdmonitionMailComment" value="Admonition Mail Comment:"/>
                </trh:cellFormat>
                <tr:inputText rows="15" columns="97" disabled="false" id="id_ProjectInformation_II_AdmonitionMailComment" simple="true" value="#{CreateAdmonitionCommentBean.projectInformationWrapper.complexType['II_AdmonitionMailComment']}"/>
              </trh:rowLayout>                                                                
            </trh:tableLayout>
          </tr:panelCaptionGroup>
      </tr:panelFormLayout>
    </tr:panelBox>
  </ui:composition>
</f:view>
 